Import Tezos X doc - #436
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
a7fb840 to
406b6e7
Compare
|
|
||
| Etherlink<!--TX--> is a fast, non-custodial execution layer enshrined in the Tezos protocol, which settles back to the Tezos consensus layer (Tezos Layer 1) for security. | ||
|
|
||
| Since kernel upgrade 7, Etherlink<!--TX--> exposes a **single blockchain** that is **addressable through two interfaces**: an **EVM interface** (available since early 2024 under the name "Etherlink") and a new **Michelson interface** (previously called Tezlink). |
There was a problem hiding this comment.
| Since kernel upgrade 7, Etherlink<!--TX--> exposes a **single blockchain** that is **addressable through two interfaces**: an **EVM interface** (available since early 2024 under the name "Etherlink") and a new **Michelson interface** (previously called Tezlink). | |
| Etherlink<!--TX--> exposes a **single blockchain** that is **addressable through two interfaces**: an **EVM interface** and a **Michelson interface**. |
There was a problem hiding this comment.
Sure, we can just say what Etherlink is now, but in order to explain to current users why there are so many changes, isn't it useful to say that the whole changes are brought in this upgrade? So people can distinguish the Etherlink-before and the Etherlink-now.
There was a problem hiding this comment.
Maybe makes more sense in the new minimal-changes version, take a look.
| Etherlink<!--TX--> is a fast, non-custodial execution layer enshrined in the Tezos protocol, which settles back to the Tezos consensus layer (Tezos Layer 1) for security. | ||
|
|
||
| Since kernel upgrade 7, Etherlink<!--TX--> exposes a **single blockchain** that is **addressable through two interfaces**: an **EVM interface** (available since early 2024 under the name "Etherlink") and a new **Michelson interface** (previously called Tezlink). | ||
| In that, kernel upgrade 7 constituted an important milestone in the Tezos X roadmap, securing the way to the near-term Tezos X launch. |
There was a problem hiding this comment.
| In that, kernel upgrade 7 constituted an important milestone in the Tezos X roadmap, securing the way to the near-term Tezos X launch. |
There was a problem hiding this comment.
François (I cannot find his tag here) suggested to mention this as a milestone, check with him, I'm open to any suggestions.
There was a problem hiding this comment.
I would remove it at the moment. While this is true, the Tezos X roadmap, extended to take into account end-users has not been made public yet.
There was a problem hiding this comment.
commented out (the link I included was indeed the old roadmap not including end-users)
| Since kernel upgrade 7, Etherlink<!--TX--> exposes a **single blockchain** that is **addressable through two interfaces**: an **EVM interface** (available since early 2024 under the name "Etherlink") and a new **Michelson interface** (previously called Tezlink). | ||
| In that, kernel upgrade 7 constituted an important milestone in the Tezos X roadmap, securing the way to the near-term Tezos X launch. | ||
|
|
||
| To enable the seamless integration of the two ecosystems in this single blockchain, Etherlink<!--TX--> provides **Native Atomic Composability** (sometimes shortened as NAC): smart contracts in one interface can call contracts in the other within a single atomic transaction. From an economical perspective, the interface used to interact with the chain doesn't matter, it becomes only a technical detail. |
There was a problem hiding this comment.
Why “economical perspective”?
There was a problem hiding this comment.
François's phrasing, open to change, but check with him. I understand it as: the two worlds share the same native token. (this is explicit in the next sentence)
There was a problem hiding this comment.
Maybe we could remove this phrase and just mention the two interfaces share the same native token?
There was a problem hiding this comment.
done (note that the phrase is now in page overview/architecture.md)
| @@ -0,0 +1,96 @@ | |||
| --- | |||
| title: What is Etherlink? # tx | |||
There was a problem hiding this comment.
I think this is changing the index of the doc too much tbh and i'm not sure to understand why.
You should have changed the first paragraph to generalize it and be done with it IMO.
There was a problem hiding this comment.
I can minimize the changes WRT the old version, just mentioning the dual interface and the NAC here, and leaving the details for the other pages in this Overview section. It depends if we want to emphasize continuity (via minimal changes) or the new features. I'm open to both, maybe anybody else has an opinion?
There was a problem hiding this comment.
Check the last commit "minimize changes to the landing page"
|
|
||
| For current and historical status information for Etherlink{/* TX */}, see https://status.etherlink.com. | ||
|
|
||
| This page contains information for connecting to the public Etherlink{/* TX */} networks via the Michelson interface. |
There was a problem hiding this comment.
Sure. Fixed, thanks
b05e802 to
6a4190e
Compare
6a4190e to
c976c39
Compare
69492f9 to
4479ab3
Compare
Validation of the fix passThanks @NicNomadic — this is a very thorough pass, and the commit-per-item structure made it easy to verify. I re-checked the fixes against the files (not just the commit messages) and rebuilt the site locally: 24 of the 26 items are fixed, and fixed correctly. Verified in particular: the KT1 alias formula now matches the kernel exactly; the fee constants (135M / 9.9e-10) with the example correctly recomputed (270M backlog → 1.14 gwei checks out) and the table rebased; the DA fee now counts access-list bytes and includes the EIP-7702 term; Two remaining items:
Non-blocking, tracked: the With the five redirect lines and the one-line cross-reference fix, this looks good to me. |
|
A few more small items from one last read-through, this time from a beginner's seat (someone who copy-pastes tutorials and leans on an AI assistant):
(Tiny nit while I'm here: the live-example links in |
Read-through: a Michelson developer trying to call an existing EVM contractOne more persona pass, this time on the direction the docs cover least. Not blocking this PR — this is the concrete scope for the "NAC reference layer" follow-up already tracked in the action plan — but the journey is worth reading in full, because it shows where a real reader stops. The persona: a competent Tezos developer — 4 years of SmartPy, FA2 contracts in production, fluent with Taquito and octez-client, but zero Solidity and no idea what ABI encoding or a function selector is. The goal: a loyalty-points contract in SmartPy that, via NAC, (a) transfers USDC (an existing ERC-20 on the EVM side) to a user, (b) reads a USDC balance first, (c) handles a failed transfer cleanly. The journey
Where they end up: they know the mechanism exists ( Suggested scope for the follow-up issue
Happy to open this as a tracked issue with the above as the description. |
There was a problem hiding this comment.
| href: 'https://docs.etherlink.com/testing/migrating-testnet', |
unfixed this would lead to 404. it can probably also be safely dropped from sidebar
There was a problem hiding this comment.
Thanks, I removed the whole item from the sidebar.
| [ | ||
| '@docusaurus/plugin-client-redirects', | ||
| { | ||
| createRedirects(existingPath) { |
There was a problem hiding this comment.
| createRedirects(existingPath) { | |
| redirects: [ | |
| { from: '/network/migrating-testnet', to: '/testing/migrating-testnet' }, | |
| { from: '/network/fees', to: '/evm/developing/fees' }, | |
| ], | |
| createRedirects(existingPath) { |
add redirects (client side, these won't 301) to the main links shared on discord & elsewhere.
There was a problem hiding this comment.
In fact, I added these exceptions in the table itself, to achieve the same result
| In particular, it contains three fixes hardening the sequencer upgrade (or change) and one fix of a liveness/DoS bug in the decoding of blueprints. | ||
|
|
||
| For more information, see [Announcing Etherlink 6.6: a security hardening kernel upgrade proposal](https://forum.tezosagora.org/t/announcing-etherlink-6-6-a-security-hardening-kernel-upgrade-proposal/7137). | ||
|
|
There was a problem hiding this comment.
TODO: add changelog for Etherlink 7.0
There was a problem hiding this comment.
Sure, but I need the date (possibly postponed)
There was a problem hiding this comment.
I added commit a8457c5 with the tentative activation time, to be fixed if necessary.
There was a problem hiding this comment.
(but let's leave this thread open to remember not to merge this MR before the activation is really imminent)
| @@ -29,4 +31,4 @@ The maximum change is the new block time divided by the old block time multiplie | |||
There was a problem hiding this comment.
if it's new / old then its 8 / 10 not 10 / 8 in the next sentence. Which is correct?
There was a problem hiding this comment.
Well spotted. In fact, it seems to me that the whole computation was wrong. Let's note N1 and N2 the old and new number of cycles for cementation, and T1 and T2 the old and new block times, respectively, with T1>T2. The constant is the refutation period R=N1*T1=N2*T2. In the worst case, the commitment waited for N1 cycles and has to wait for other N2-N1 cycles, lasting now T2 each. This accounts for (N2-N1)*T2=(R/T2-R/T1)*T2=R*((T1-T2)/T1*T2)*T2=R*(T1-T2)/T1.
I changed the explanation in commit 759f633 to reflect this new computation, omitting the whole proof, which would be perhaps too heavy for a note.
|
In response to thread #436 (comment):
|
|
In response to thread #436 (comment):
|
|
In response to thread #436 (comment) I created issue #439 |
Co-authored-by: skenaja <510285+skenaja@users.noreply.github.com>
Import the doc prepared in the Tezos X repo into the current repo to keep the exact same old Etherlink style.